package messageFormatTest;

import org.junit.Test;

import java.util.UUID;

/**
 * Created by svenl on 6/16/2017.
 */
public class MessageFormatTest {

    MessageTemplate messageTemplate = new MessageTemplate();

    @Test
    public void getMessage() {

        SmsVO smsVO = new SmsVO();
        smsVO.setAmount(1);
       // smsVO.setRemark("2");
        smsVO.setAction("3");
        smsVO.setContent("4");

        System.out.println(messageTemplate.stopSchResultMsg("schorder.stop.apply", smsVO)
        );
    }

    @Test
    public void testMsg(){
        String str ="12223";
     String[]   str2 =  str.split(",");
        for (String s : str2) {
            System.out.println(  s  );
        }

    }

    @Test
    public void testUUID(){
        System.out.println( UUID.randomUUID().toString().length() );
    }


}
